package com.qianhui.action;

import com.qianhui.bean.Page;


/**
 * 直接跳转action
 *
 * @author 甘士成
 */
public class GoToAction extends BaseAction
{
    private Page page;

    @Override
    public String execute() throws Exception
    {
        return SUCCESS;
    }

    public String pages_button()
    {
        System.out.println(page.toString());
        return SUCCESS;
    }

    public String pages_link()
    {
        System.out.println(page.toString());
        return SUCCESS;
    }

    public Page getPage()
    {
        return page;
    }

    public void setPage(Page page)
    {
        this.page = page;
    }

}
